﻿using System;
using System.Linq;
using System.Collections.Generic;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface ITourRepository 
    {
        // Default Add, Delete and save actions
        void Add(Tour tour);
        void Delete(Tour tour);
        void Save();

        // Querys
        IQueryable<Tour> FindAllTours();
        IQueryable<Tour> FindUpcomingTours();
        Tour GetTour(int id);
    }
}
